import request from '@/utils/request'

// 查询【用户】列表
export function listUser(query) {
  return request({
    url: '/resource/user/list',
    method: 'get',
    params: query
  })
}
// 查询【公共配套】列表
export function listGong(query) {
  return request({
    url: '/resource/gong/selGong',
    method: 'get',
    params: query
  })
}
//查询【房间配套】列表
export function listFang(query) {
  return request({
    url: '/resource/gong/selFang',
    method: 'get',
    params: query
  })
}

export function selLou(name){
  return request({
    url: '/resource/info/sellou',
    method: 'post',
    data: name
  })
}

export function addJi(data){
  return request({
    url: '/resource/resource/addji',
    method: 'post',
    data: data
  })
}

//yue发送mq
export function yuemq(){
  return request({
    url: '/resource/mq/send',
    method: 'post',
  })
}


